package controllerDto

// LoginRequest 用于注册和登录参数绑定结构体
type LoginRequest struct {
	Account  string `json:"account" form:"account" binding:"required"`
	Password string `json:"password" form:"password" binding:"required"`
}
type UpdateRequest struct {
	Username string `json:"username" form:"username" validator:"required"`
	Gender   int    `json:"gender" form:"gender" validator:"required"`
	Tag      string `json:"tag" form:"tag" validator:"required"`
	Img      string `json:"img" form:"img" validator:"required"`
	ID       uint   `json:"id" form:"id" validator:"required"`
}
